gtkwindow: apply csd offset to set/get_default_size
authorOlivier Fourdan <ofourdan@redhat.com>
Thu, 12 Nov 2015 15:56:20 +0000 (16:56 +0100)
committerOlivier Fourdan <ofourdan@redhat.com>
Wed, 18 Nov 2015 07:35:31 +0000 (08:35 +0100)
commit370e3469c60a450f90731679440df79953aaee2a
tree0d9d6287d2d4ed248d783d42cccf25df1daf9337
parent87b10e6f60f84ae4ed4ca7058a006330d8cca31f
gtkwindow: apply csd offset to set/get_default_size

An application may use gtk_window_get_size() to retrieve the current
window size and later reuse that size with
gtk_window_set_default_size().

gtk_window_set_default_size() and gtk_window_get_default_size() should
also take client side decorations offset into account.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=756618
gtk/gtkwindow.c